﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="FAQsAdd.ascx.cs" Inherits="controls_admin_FAQsAdd" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<!-- forms -->
<div class="box">
    <!-- box / title -->
    <div class="title">
        <h5 id="module_title" runat="server">
            Thêm hỏi đáp
        </h5>
    </div>
    <div id="divMessage" runat="server">
    </div>
    <!-- end box / title -->
    <div class="form">
        <div class="fields">
            <div class="field field-first">
                <div class="label">
                    <label for="input-medium">
                        Nhóm tin</label>
                </div>
                <div class="input">
                    <asp:DropDownList ID="ddlCategories" runat="server" CssClass="cate" />
                    <div class="note" id="NOTE_CATE" runat="server" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-medium">
                        Tiêu đề:</label>
                </div>
                <div class="input">
                    <asp:TextBox ID="txtFULL_ARTICLE_TITLE" runat="server" CssClass="medium required"
                        MaxLength="500" />
                    <div class="note" id="NOTE_TITLE" runat="server" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-medium">
                        Tên người hỏi:
                    </label>
                </div>
                <div class="input input-file">
                    <asp:TextBox ID="txtName" runat="server" CssClass="small" />
                    <div class="note" id="NOTE_URL" runat="server">
                    </div>
                </div>
            </div>
            <div class="field">
                <div class="label label-textarea">
                    <label for="textarea">
                        Email:</label>
                </div>
                <div class="input">
                    <asp:TextBox ID="txtEmail" runat="server" CssClass="small"></asp:TextBox>
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-medium">
                        Thứ tự hiển thị:</label>
                </div>
                <div class="input">
                    <asp:TextBox ID="txtOrder" runat="server" CssClass="number required -xsmall" Text="1" />
                    <div class="note" id="Div2" runat="server" />
                </div>
            </div>
            <div class="field">
                <div class="label label-textarea">
                    <label for="textarea">
                        Trả lời:</label>
                </div>
                <div class="textarea textarea-editor">
                    <CKEditor:CKEditorControl ID="ckContent" runat="server" Height="500" FilebrowserBrowseUrl="/ckfinder/ckfinder.html"
                        FilebrowserImageBrowseUrl="/ckfinder/ckfinder.html?type=Images" FilebrowserFlashBrowseUrl="/ckfinder/ckfinder.html?type=Flash"
                        FilebrowserUploadUrl="/ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Files"
                        FilebrowserImageUploadUrl="/ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Images"
                        FilebrowserFlashUploadUrl="/ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Flash">
                    </CKEditor:CKEditorControl>
                </div>
            </div>
            <div class="buttons">
                <div class="highlight">
                    <asp:Button ID="btnSubmit" runat="server" Text="Thêm mới" OnClick="btnSubmit_Click" />
                </div>
                <input type="reset" value="Làm lại" />
            </div>
        </div>
    </div>
</div>
<!-- end forms -->
